Skip to content

[DW] split_client updated logs#459

Merged
sanzmauro merged 1 commit into
disco-weekfrom
dw/SDKS-6908
May 11, 2023
Merged

[DW] split_client updated logs#459
sanzmauro merged 1 commit into
disco-weekfrom
dw/SDKS-6908

Conversation

@sanzmauro

Copy link
Copy Markdown
Contributor

Ruby SDK

What did you accomplish?

  • [DW] split_client updated logs

@sanzmauro sanzmauro requested a review from a team May 10, 2023 20:46
@sanzmauro sanzmauro self-assigned this May 10, 2023
true
elsif split_name.is_a?(String) && split_name.empty?
@config.logger.warn("#{calling_method}: you passed an empty split_name, split_name must be a non-empty String or a Symbol")
@config.logger.warn("#{calling_method}: you passed an empty feature_flag_name, flag name must be a non-empty String or a Symbol")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update flag_name to feature_flag_name

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @chillaq i am reviewing the spec and my changes are fine. 🤔

false
else
@config.logger.warn("#{calling_method}: you passed an invalid split_name, split_name must be a non-empty String or a Symbol")
@config.logger.warn("#{calling_method}: you passed an invalid feature_flag_name, flag name must be a non-empty String or a Symbol")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update flag_name to feature_flag_name

Comment thread spec/engine_spec.rb
expect(log.string).to include 'get_treatments: you passed an invalid split_name, ' \
'split_name must be a non-empty String or a Symbol'
expect(log.string).to include 'get_treatments: you passed an invalid feature_flag_name, ' \
'flag name must be a non-empty String or a Symbol'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update flag_name to feature_flag_name

Comment thread spec/engine_spec.rb
expect(log.string).to include 'get_treatments: you passed an empty split_name, ' \
'split_name must be a non-empty String or a Symbol'
expect(log.string).to include 'get_treatments: you passed an empty feature_flag_name, ' \
'flag name must be a non-empty String or a Symbol'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update flag_name to feature_flag_name

@sanzmauro sanzmauro requested a review from chillaq May 11, 2023 13:14
@sanzmauro sanzmauro merged commit 697d76d into disco-week May 11, 2023
@sanzmauro sanzmauro deleted the dw/SDKS-6908 branch May 11, 2023 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants